Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Bump async-nats from 0.32.1 to 0.33.0 #13296

Merged
merged 1 commit into from
Jan 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 7, 2023

Bumps async-nats from 0.32.1 to 0.33.0.

Release notes

Sourced from async-nats's releases.

Release async-nats/v0.33.0

0.33.0

Overview

This release introduces last planned breaking changes and stabilizes the async API.

Subject in publish methods

The biggest change is how subjects are handled. Until now, publish was of type String:

client.publish("subject".to_string(), "data".into()).await?;

This was easy to understand and reason about, but had two downsides:

  1. It was always allocating
  2. It was cumbersome for codebases working with &'static str

The signature has been change into:

// Signature
async fn publish(subject: impl ToSubject, payload: Bytes)
// Usage
client.publish("subject", "data".into()).await?;

This is not only more concise, but also allows avoiding allocations when subject is static, or when it is Subject type that can be cheaply cloned leveraging memory optimized bytes::Bytes mechanism under the hood.

Service API improvements

Beyond that, there were a lot of improvements to Service API to address cross-language compatibility issues. All structures are now tested against common cross-language json schemas. Thanks @​jadamcrain for all the feedback, issues nad PRs related to Service API!

Docs improvements

Despite every method having documentation with examples, we were aware that sometimes its hard to navigate the docs to find what someone is looking for. This was addressed by adding module-level docs.

Added

Changed

Fixed

... (truncated)

Commits
  • 4c8337c Release async-nats/v0.33.0
  • 57d6b72 Remove println from service code
  • 27ad14a chore: fix fmt
  • 27fbab4 chore: fix sync TLS authentication for EC keys
  • 375047b Add jetstream, kv, object store and service to top level docs examples
  • 7aa1a2f Add nats by example link
  • e0b1e4d Fix calculating average processing time for service API
  • 67b2798 Make description always serialized
  • 9bb47e6 Add schema tests for service
  • ff44cda Sanitize service endpoint name if not provided
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from a team as a code owner November 7, 2023 18:49
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Nov 7, 2023
Copy link

codecov bot commented Nov 7, 2023

Codecov Report

Merging #13296 (0e9f967) into main (887655f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main   #13296   +/-   ##
=======================================
  Coverage   68.01%   68.01%           
=======================================
  Files        1522     1522           
  Lines      258130   258130           
=======================================
  Hits       175569   175569           
  Misses      82561    82561           
Flag Coverage Δ
rust 68.01% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 2 files with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@fuyufjh fuyufjh enabled auto-merge November 29, 2023 03:59
@xxchan
Copy link
Member

xxchan commented Jan 1, 2024

@dependabot rebase

Bumps [async-nats](https://github.com/nats-io/nats.rs) from 0.32.1 to 0.33.0.
- [Release notes](https://github.com/nats-io/nats.rs/releases)
- [Commits](nats-io/nats.rs@async-nats/v0.32.1...async-nats/v0.33.0)

---
updated-dependencies:
- dependency-name: async-nats
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/async-nats-0.33.0 branch from 0e9f967 to cc4ea61 Compare January 1, 2024 14:59
@fuyufjh fuyufjh added this pull request to the merge queue Jan 1, 2024
Merged via the queue into main with commit 05fae9f Jan 1, 2024
29 checks passed
@fuyufjh fuyufjh deleted the dependabot/cargo/async-nats-0.33.0 branch January 1, 2024 15:57
yezizp2012 pushed a commit that referenced this pull request Jan 2, 2024
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants